package com.yiduo.outpost.ucenter.model.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;

/**
 * @Author yanwen
 * @create 2023/8/30 09:34
 */
@Data
@Schema(description = "SignInRequestBody.description")
public class SignInRequestBody {
    @NotBlank(message = "登录名不能为空")
    @Schema(description ="登录名称")
    private String loginKey;

    @Schema(description ="密码")
    @NotBlank(message = "密码不能为空")
    private String password;
    @Schema(description ="记住我 记住:true,不记住:false 记住会话 15天 不记住 1天会话")
    private Boolean rememberMe = false;
}
